Package com.jeovanimartinez.androidutils.extensions.graphics

Functions

Link copied to clipboard
fun Bitmap.rotate(degrees: Float): Bitmap

Rotate a bitmap the indicated degrees.

Link copied to clipboard
fun Bitmap.trimByBorderColor(@ColorInt color: Int = Color.TRANSPARENT, trimMargin: Margin? = null): Bitmap

Trims the borders of a bitmap of a specific color.